package com.cavy.platform.server.dto;

import com.cavy.platform.server.domain.AgentStatus;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;


@Data
@Accessors(chain = true)
public class AgentStatusDto {
    @NotNull(message = "主机名称不能为空")
    private String hostName;
    @NotNull(message = "目标状态不能为空")
    private AgentStatus status;
}
